Repository navigation
fix(rngdle): vérifie le tirage d’un membre lié après une carte non vérifiée - #400
Merged
Merged
Conversation
AntoineJT
force-pushed
the
fix/rngdle-linked-roll
branch
from
November 10, 2026 02:57
afb8aa7 to
3e0e8f8
Compare
AntoineJT
force-pushed
the
fix/rngdle-linked-roll
branch
2 times, most recently
from
November 10, 2026 03:06
babea70 to
b459990
Compare
…a carte du jour La carte vérifiée par le calculateur avant la liaison réservait le jour : les résultats collés ensuite, une fois lié, n’étaient plus cherchés sur rngdle.com et restaient « Non connecté » jusqu’à une synchronisation (/rngdle leaderboard). Pour un membre lié, la vérification s’arrête désormais une fois le tirage du jour enregistré.
L’attente de 10 minutes entre deux vérifications était comptée par membre : une vérification par le calculateur juste avant la liaison bloquait la première vérification sur rngdle.com. Elle est désormais comptée par source (calculateur, rngdle.com).
…connecté Un membre lié qui collait d’abord un tirage fait sans être connecté au site, puis son tirage connecté, voyait ce dernier « Non connecté » : la première vérification lançait l’attente de 10 minutes. rngdle.com peut désormais être interrogé 3 fois en 10 minutes, sans délai ; un tirage introuvable recollé ne relance rien, et un site qui ne répond pas n’est plus interrogé avant la fin des 10 minutes.
AntoineJT
force-pushed
the
fix/rngdle-linked-roll
branch
from
November 10, 2026 03:34
b459990 to
fba4cf7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🇫🇷 Français
🎯 Résumé
Un tirage enregistré sur rngdle.com n'est plus affiché « Non connecté » parce qu'une carte non vérifiée a été dessinée avant. C'est le cas d'un membre qui lie son compte après une première carte, ou d'un membre déjà lié qui colle d'abord un tirage fait sans être connecté au site.
🤔 Motivation
Constaté : après un tirage collé « non connecté », les tirages connectés collés ensuite restent eux aussi « Non connecté », jusqu'à ce que quelqu'un lance
/rngdle leaderboard. Deux façons d'y arriver : coller avant/rngdle linkpuis lier son compte, ou être déjà lié et coller d'abord un tirage fait sans être connecté sur rngdle.com.Attendu : le tirage connecté est cherché sur rngdle.com, et la carte affiche les vraies données du membre.
Contexte : signalé par le mainteneur sur le serveur.
Cause : la vérification d'un résultat collé (
verify()dansshare-cards.ts) s'arrêtait avant d'interroger rngdle.com, pour deux raisons :/rngdle leaderboard« réparait » parce qu'il synchronise tous les comptes liés.📦 Contenu
findPasted.docs/functional.mdprécise les nouvelles règles./code-review. 2 245 tests passent ; build, oxlint, oxfmt et le build de la doc sont OK.🧭 À noter
🇬🇧 English
🎯 Summary
A roll recorded on rngdle.com is no longer shown as "Not linked" because an unverified card was drawn before. That happens to a member who links their account after a first card, or to a member already linked who first pastes a roll made while logged out of the site.
🤔 Motivation
Observed: after a roll pasted "not linked", the logged-in rolls pasted next stay "Not linked" too, until someone runs
/rngdle leaderboard. Two ways to get there: pasting before/rngdle linkand then linking, or being already linked and first pasting a roll made while logged out of rngdle.com.Expected: the logged-in roll is looked up on rngdle.com, and the card shows the member's real data.
Context: reported by the maintainer on the server.
Root cause: the check of a pasted result (
verify()inshare-cards.ts) stopped before asking rngdle.com, for two reasons:/rngdle leaderboard"fixed" it because it syncs every linked account.📦 What's included
findPasted.docs/functional.mdstates the new rules./code-review. 2,245 tests pass; build, oxlint, oxfmt and the docs build are OK.🧭 Notes
📋 Checklist